package net.quanter.demo.junit5.springboot.vo;

import java.util.Optional;

/***
 *
 * @(#) 2020-09-13
 * @author 王老实
 *
 */
public class Result {
    private String value;
    private Integer num;

    public Optional<Integer> getNum() {
        return Optional.ofNullable(num);
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Result setValue(String value) {
        this.value = value;
        return this;
    }

    public Optional<String> getValue() {
        return Optional.ofNullable(value);
    }
}
